<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>鸡蛋美术商城-排除等待</title>
</head>
<body>
    <img src='/img/wart.png' style='margin:0px auto;display: block;' >
    <span style="display: none;">
        <script type="text/javascript">
        var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F0afa99930c8ebafa26f33d63841a2dd9' type='text/javascript'%3E%3C/script%3E"));
        </script>
    </span>
    <script type="text/javascript">

        function ShareTofriends(img_url,link,title,desc) {  
        //在HTML页面内嵌入这一段JS代码
    if(window.WeixinJSBridge)
    {
        if( typeof(img_url) == 'undefined' || img_url == "")
        {
            var img_url = "/img/wart.png";
        }
        if( typeof(link) == 'undefined' || link == "")
        {
            var img_url = window.location.href;
        }
        if ( typeof(title) == 'undefined' || title == "" ) 
        {
            var title = '点开看一下吧!';
        }
        if( typeof(desc) == 'undefined' || desc == "")
        {
            var desc = "wendoscoo";
        }
        WeixinJSBridge.invoke('shareTimeline',{
            "img_url": img_url,
            //"img_width": "640",
            //"img_height": "640",
            "link": link,
            "desc": desc,
            "title": title
        },function(res){
            // 返回res.err_msg,取值
            // share_timeline:cancel 用户取消
            // share_timeline:fail　发送失败
            // share_timeline:ok 发送成功
            WeixinJSBridge.log(res.err_msg);
        });
        return false;
    }
    else
    {
        alert("WeixinJSBridge对象不存在!!");
    }
};

    </script>
    <a href="javascript:void(0);" onclick="ShareTOfriend('分享弹出窗的图片URL地址','分享的页面链接','分享弹出窗的标题','分享内容的描述')">分享到朋友圈</a>
</body>
</html>